﻿<%@ Page Title="IC.NET Router Monitor" Language="C#" MasterPageFile="~/Rules.Master" AutoEventWireup="true" CodeBehind="Monitor.aspx.cs" Inherits="ICNETREST.Monitor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="ContentTitle" ContentPlaceHolderID="TitleContent" runat="server">Router Monitor</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
  <asp:Label ID="Label1" runat="server" Text="Queue Status:" Font-Bold="True" Font-Size="X-Large"></asp:Label>
  <asp:UpdatePanel ID="QueueUpdate" runat="server" >
    <ContentTemplate>
        <asp:Timer ID="Timer1" runat="server" Interval="1000" />

  
  <table style="width: 100%;">
    <tr>
      <td>
        Queue Name
      </td>
      <td>
        Number of Messages
      </td>
      <td>
        Status
      </td>
    </tr>
    <tr>
      <td>
        IncomingEDXL</td>
      <td>
        <asp:Label ID="RouterCountLabel" runat="server" Text="NaN" />
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td>
        DeadLetterService</td>
      <td>
        <asp:Label ID="DeadCountLabel" runat="server" Text="NaN" />
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
     <tr>
      <td>
        DEProcessing</td>
      <td>
        <asp:Label ID="DEProcCountLabel" runat="server" Text="NaN" />
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
     <tr>
      <td>
        Exception</td>
      <td>
        <asp:Label ID="ExceptionCountLabel" runat="server" Text="NaN" />
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
     <tr>
      <td>
        ExposureProcessing</td>
      <td>
        <asp:Label ID="ExposureCountLabel" runat="server" Text="NaN" />
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
     <tr>
      <td>
        Federation</td>
      <td>
        <asp:Label ID="FederationCountLabel" runat="server" Text="NaN" />
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
     <tr>
      <td>
        KeywordRouting</td>
      <td>
        <asp:Label ID="KeywordRoutingCountLabel" runat="server" Text="NaN" />
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
  </table>
      </ContentTemplate>
  </asp:UpdatePanel>
  <br />
  <asp:Label ID="Label2" runat="server" Text="Service Status:" Font-Bold="True" 
    Font-Size="X-Large"></asp:Label>
  <table style="width: 100%;">
    <tr>
      <td>
        Service Name</td>
      <td>
        Status
      </td>
    </tr>
    <tr>
      <td>
        REST Services
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td>
        Dead Letter Service
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td>
        DE Processing Service
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td>
        Exception Service
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td>
        Exposure Processing Service
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td>
        Federation Service
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td>
        Keyword Routing Service
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
  </table>
  <br />
  <asp:Label ID="Label3" runat="server" Text="IIS Status:" Font-Bold="True" 
    Font-Size="X-Large"></asp:Label>
  <table style="width: 100%;">
    <tr>
      <td>
        IIS Service
      </td>
      <td>
        Status
      </td>
    </tr>
    <tr>
      <td>
        IIS Server
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td>
        Default Application Pool
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
    <tr>
      <td>
        WCFServices Application Pool
      </td>
      <td>
        &nbsp;
      </td>
    </tr>
  </table>
</asp:Content>
